package com.symphony.preperetion;

public class ByteTryins {
	public static void main(String[] args) {
		System.out.println(max2index(64));
	}
	
	private static int max2index(int number) {
		int maxIndex = 1;
		
		while (Math.pow(2, maxIndex) < number) {
			maxIndex++;
		}
		return maxIndex;
	}
}
